import { Service } from '../util/axios'

// 查歌手
export const hotSinger = (cat) => {
  return Service({
    url: `/artist/list?cat=${cat}&limit=15`,
    method: 'GET'
  })
}

// 根据歌手查信息
export const singerList = (id) => {
  return Service({
    url: `artists?id=${id}`,
    method: 'GET'
  })
}